<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: CThread::ThreadData结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="class_c_thread.html">CThread</a></li><li class="navelem"><a class="el" href="struct_c_thread_1_1_thread_data.html">ThreadData</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="struct_c_thread_1_1_thread_data-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CThread::ThreadData结构体 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_thread_8h_source.html">Thread.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:abc90590826e1bd640bac49986073111d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_thread_1_1_thread_data.html#abc90590826e1bd640bac49986073111d">ThreadData</a> ()</td></tr>
<tr class="separator:abc90590826e1bd640bac49986073111d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:aeed0154d040f08176e3ae713e7b25c54"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structone__function.html">one_function</a>&lt; <a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>, void * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_thread_1_1_thread_data.html#aeed0154d040f08176e3ae713e7b25c54">_func</a></td></tr>
<tr class="memdesc:aeed0154d040f08176e3ae713e7b25c54"><td class="mdescLeft">&#160;</td><td class="mdescRight">线程函数  <a href="struct_c_thread_1_1_thread_data.html#aeed0154d040f08176e3ae713e7b25c54">更多...</a><br /></td></tr>
<tr class="separator:aeed0154d040f08176e3ae713e7b25c54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07959330329de10771f35648f0259d9c"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_thread_1_1_thread_data.html#a07959330329de10771f35648f0259d9c">_arg</a></td></tr>
<tr class="memdesc:a07959330329de10771f35648f0259d9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">线程参数  <a href="struct_c_thread_1_1_thread_data.html#a07959330329de10771f35648f0259d9c">更多...</a><br /></td></tr>
<tr class="separator:a07959330329de10771f35648f0259d9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2914e285c86607a6aeb5cb3de87d553a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="tools_8h.html#ad5d1d4448f0dd70f644916217fa0f5d6">THREADPTR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_thread_1_1_thread_data.html#a2914e285c86607a6aeb5cb3de87d553a">_hThread</a></td></tr>
<tr class="memdesc:a2914e285c86607a6aeb5cb3de87d553a"><td class="mdescLeft">&#160;</td><td class="mdescRight">线程句柄  <a href="struct_c_thread_1_1_thread_data.html#a2914e285c86607a6aeb5cb3de87d553a">更多...</a><br /></td></tr>
<tr class="separator:a2914e285c86607a6aeb5cb3de87d553a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28c74c9d479f2ab2d6841ed13088e95a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_thread_1_1_thread_data.html#a28c74c9d479f2ab2d6841ed13088e95a">_dwRet</a></td></tr>
<tr class="memdesc:a28c74c9d479f2ab2d6841ed13088e95a"><td class="mdescLeft">&#160;</td><td class="mdescRight">线程函数的返回值  <a href="struct_c_thread_1_1_thread_data.html#a28c74c9d479f2ab2d6841ed13088e95a">更多...</a><br /></td></tr>
<tr class="separator:a28c74c9d479f2ab2d6841ed13088e95a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae28abe03268a8673f40611afef335284"><td class="memItemLeft" align="right" valign="top"><a class="el" href="tools_8h.html#af632da489ebc3708ec3ab6791ee53fa4">ULONG</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_thread_1_1_thread_data.html#ae28abe03268a8673f40611afef335284">_id</a></td></tr>
<tr class="memdesc:ae28abe03268a8673f40611afef335284"><td class="mdescLeft">&#160;</td><td class="mdescRight">线程的id  <a href="struct_c_thread_1_1_thread_data.html#ae28abe03268a8673f40611afef335284">更多...</a><br /></td></tr>
<tr class="separator:ae28abe03268a8673f40611afef335284"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c495991df1ff3ca978a94d5472bf71c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_thread_1_1_thread_data.html#a6c495991df1ff3ca978a94d5472bf71c">_bRun</a></td></tr>
<tr class="memdesc:a6c495991df1ff3ca978a94d5472bf71c"><td class="mdescLeft">&#160;</td><td class="mdescRight">标志线程是否在运行  <a href="struct_c_thread_1_1_thread_data.html#a6c495991df1ff3ca978a94d5472bf71c">更多...</a><br /></td></tr>
<tr class="separator:a6c495991df1ff3ca978a94d5472bf71c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5760ee239eca5e88d0d092971851ed75"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_c_thread_1_1_thread_data.html#a5760ee239eca5e88d0d092971851ed75">_detach</a></td></tr>
<tr class="memdesc:a5760ee239eca5e88d0d092971851ed75"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否分离  <a href="struct_c_thread_1_1_thread_data.html#a5760ee239eca5e88d0d092971851ed75">更多...</a><br /></td></tr>
<tr class="separator:a5760ee239eca5e88d0d092971851ed75"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="_thread_8h_source.html">Thread.h</a> 第 <a class="el" href="_thread_8h_source.html#l00061">61</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="abc90590826e1bd640bac49986073111d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc90590826e1bd640bac49986073111d">&#9670;&nbsp;</a></span>ThreadData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a> CThread::ThreadData::ThreadData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_thread_8cpp_source.html">Thread.cpp</a> 第 <a class="el" href="_thread_8cpp_source.html#l00007">7</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a07959330329de10771f35648f0259d9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07959330329de10771f35648f0259d9c">&#9670;&nbsp;</a></span>_arg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* CThread::ThreadData::_arg</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>线程参数 </p>

<p class="definition">在文件 <a class="el" href="_thread_8h_source.html">Thread.h</a> 第 <a class="el" href="_thread_8h_source.html#l00065">65</a> 行定义.</p>

</div>
</div>
<a id="a6c495991df1ff3ca978a94d5472bf71c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c495991df1ff3ca978a94d5472bf71c">&#9670;&nbsp;</a></span>_bRun</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CThread::ThreadData::_bRun</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>标志线程是否在运行 </p>

<p class="definition">在文件 <a class="el" href="_thread_8h_source.html">Thread.h</a> 第 <a class="el" href="_thread_8h_source.html#l00069">69</a> 行定义.</p>

</div>
</div>
<a id="a5760ee239eca5e88d0d092971851ed75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5760ee239eca5e88d0d092971851ed75">&#9670;&nbsp;</a></span>_detach</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CThread::ThreadData::_detach</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>是否分离 </p>

<p class="definition">在文件 <a class="el" href="_thread_8h_source.html">Thread.h</a> 第 <a class="el" href="_thread_8h_source.html#l00070">70</a> 行定义.</p>

</div>
</div>
<a id="a28c74c9d479f2ab2d6841ed13088e95a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28c74c9d479f2ab2d6841ed13088e95a">&#9670;&nbsp;</a></span>_dwRet</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> CThread::ThreadData::_dwRet</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>线程函数的返回值 </p>

<p class="definition">在文件 <a class="el" href="_thread_8h_source.html">Thread.h</a> 第 <a class="el" href="_thread_8h_source.html#l00067">67</a> 行定义.</p>

</div>
</div>
<a id="aeed0154d040f08176e3ae713e7b25c54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeed0154d040f08176e3ae713e7b25c54">&#9670;&nbsp;</a></span>_func</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structone__function.html">one_function</a>&lt;<a class="el" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>, void*&gt; CThread::ThreadData::_func</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>线程函数 </p>

<p class="definition">在文件 <a class="el" href="_thread_8h_source.html">Thread.h</a> 第 <a class="el" href="_thread_8h_source.html#l00064">64</a> 行定义.</p>

</div>
</div>
<a id="a2914e285c86607a6aeb5cb3de87d553a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2914e285c86607a6aeb5cb3de87d553a">&#9670;&nbsp;</a></span>_hThread</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#ad5d1d4448f0dd70f644916217fa0f5d6">THREADPTR</a> CThread::ThreadData::_hThread</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>线程句柄 </p>

<p class="definition">在文件 <a class="el" href="_thread_8h_source.html">Thread.h</a> 第 <a class="el" href="_thread_8h_source.html#l00066">66</a> 行定义.</p>

</div>
</div>
<a id="ae28abe03268a8673f40611afef335284"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae28abe03268a8673f40611afef335284">&#9670;&nbsp;</a></span>_id</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#af632da489ebc3708ec3ab6791ee53fa4">ULONG</a> CThread::ThreadData::_id</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>线程的id </p>

<p class="definition">在文件 <a class="el" href="_thread_8h_source.html">Thread.h</a> 第 <a class="el" href="_thread_8h_source.html#l00068">68</a> 行定义.</p>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/thread/<a class="el" href="_thread_8h_source.html">Thread.h</a></li>
<li>H:/project/LibTools/src/thread/<a class="el" href="_thread_8cpp_source.html">Thread.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
